<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">

<head>
    <th:block th:include="include :: header('新增纪检监察机关立案审查调查情况登记')" />
    <th:block th:include="include :: layout-latest-css" />
    <style>
        .tablecss1 {
            height: 50px;
            background: #9ad4f5;
            text-align: center;
            align-items: center;
            font-family: 宋体;
            font-size: 20pt;
            font-weight: bold;
            border-left: 0.5pt solid #000;
            border-right: 0.5pt solid #000;
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid #000;
        }

        .tablecss2 {
            height: 25px;
            background: #cfe2f3;
            text-align: center;
            align-items: center;
            font-family: 宋体;
            font-size: 14pt;
            font-weight: bold;
            border-left: 0.5pt solid #000;
            border-right: 0.5pt solid #000;
            border-bottom: 0.5pt solid #000;
            border-top: 0.5pt solid #000;
        }

        .tablecss3 {
            height: 50px;
            background: #cfe2f3;
            text-align: center;
            align-items: center;
            font-family: 宋体;
            font-size: 14pt;
            font-weight: bold;
            border-left: 0.5pt solid #000;
            border-right: 0.5pt solid #000;
            border-bottom: 0.5pt solid #000;
            border-top: 0.5pt solid #000;
        }

        .tablecss4 {
            text-align: center;
            align-items: center;
            font-family: 宋体;
            font-size: 14pt;
            font-weight: bold;
            border-left: 0.5pt solid #000;
            border-right: 0.5pt solid #000;
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid #000;
        }

        .tablecss5 {
            align-items: center;
            font-family: 宋体;
            font-size: 14pt;
            font-weight: bold;
            border-left: 0.5pt solid #000;
            border-right: 0.5pt solid #000;
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid #000;
        }

        .inputcss1 {
            width: 100%;
            text-align: center;
            border: none;
            font-family: 宋体;
            font-size: 14pt;
        }

        .inputcss2 {
            height: 50px;
            width: 100%;
            border: none;
            font-family: 宋体;
            font-size: 14pt;
        }

        .selectcss1 {
            width: 100%;
            text-align: center;
            text-align-last: center;
            border: none;
            font-family: 宋体;
            font-size: 14pt;
            appearance: none;
            -moz-appearance: none;
            -webkit-appearance: none;
            padding-right: 14px;
        }
    </style>
</head>

<body class="gray-bg">
    <div class="ui-layout-west">
        <div class="box box-main">
            <div class="box-header">
                <div class="box-title">
                    <i class="fa icon-grid"></i> 被调查人
                </div>
            </div>
            <div class="ui-layout-content">
                <div id="tree">
                    <p style="margin-left: 20px;" th:each="workTemplateTable7: ${workTemplateTable7List}">
                        <a th:onclick="'fill_in_edit(' + ${workTemplateTable7.id} + ');'" th:text="${workTemplateTable7.val4}"></a>
                    </p>
                </div>
            </div>
        </div>
    </div>

    <div class="ui-layout-center">
        <div class="container-div" id="fragment-template" >
            <div class="row" th:fragment="fragment-template">
                <form class="form-horizontal m" id="form-templatetable7-add">
                    <input id="progressId" name="workProgress.progressId" th:value="${workProgress.progressId}"
                        type="hidden">
                    <input id="status" name="workProgress.status" th:value="${workProgress.status}" type="hidden">
    
                    <input type="hidden" id="id" name="id" th:value="${workTemplateTable7.id}">
    
                    <table data-type="luckysheet_copy_action_table">
                        <colgroup width="181px"></colgroup>
                        <colgroup width="83px"></colgroup>
                        <colgroup width="111px"></colgroup>
                        <colgroup width="86px"></colgroup>
                        <colgroup width="72px"></colgroup>
                        <colgroup width="119px"></colgroup>
                        <colgroup width="135px"></colgroup>
                        <colgroup width="140px"></colgroup>
                        <colgroup width="135px"></colgroup>
                        <colgroup width="135px"></colgroup>
                        <tr>
                            <td rowspan="1" colspan="10" class="tablecss1">纪检监察机关立案审查调查情况登记表</td>
                        </tr>
                        <tr>
                            <input type="hidden" id="workTemplateTable7.id" name="workTemplateTable7.id"
                                th:value="${workTemplateTable7.id}">
                            <td class="tablecss2">案件编码</td>
                            <td rowspan="1" colspan="3" class="tablecss4"><input name="workTemplateTable7.val1"
                                    th:value="${workTemplateTable7.val1}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">涉案人员编码</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val2"
                                    th:value="${workTemplateTable7.val2}" class="form-control inputcss1"></td>
                            <td rowspan="1" colspan="2" class="tablecss2">单位类或事故事件类问题线索</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val3" th:value="${workTemplateTable7.val3}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val3}=='1'">是</option>
                                    <option value="2" th:selected="${workTemplateTable7.val3}=='2'">否</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">被调查人</td>
                            <td rowspan="1" colspan="3" class="tablecss4"><input name="workTemplateTable7.val4"
                                    th:value="${workTemplateTable7.val4}" class="form-control inputcss1" required>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">出生年月</td>
    
                            <td class="tablecss4"><input name="workTemplateTable7.val5"
                                    th:value="${workTemplateTable7.val5}" class="form-control inputcss1" placeholder="年 月"
                                    readonly>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">民族</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val6" th:value="${workTemplateTable7.val6}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val6}=='1'">汉族</option>
                                    <option value="2" th:selected="${workTemplateTable7.val6}=='2'">蒙古族</option>
                                    <option value="3" th:selected="${workTemplateTable7.val6}=='3'">回族</option>
                                    <option value="4" th:selected="${workTemplateTable7.val6}=='4'">藏族</option>
                                    <option value="5" th:selected="${workTemplateTable7.val6}=='5'">维吾尔族</option>
                                    <option value="6" th:selected="${workTemplateTable7.val6}=='6'">苗族</option>
                                    <option value="7" th:selected="${workTemplateTable7.val6}=='7'">彝族</option>
                                    <option value="8" th:selected="${workTemplateTable7.val6}=='8'">壮族</option>
                                    <option value="9" th:selected="${workTemplateTable7.val6}=='9'">布依族</option>
                                    <option value="10" th:selected="${workTemplateTable7.val6}=='10'">朝鲜族</option>
                                    <option value="11" th:selected="${workTemplateTable7.val6}=='11'">满族</option>
                                    <option value="12" th:selected="${workTemplateTable7.val6}=='12'">侗族</option>
                                    <option value="13" th:selected="${workTemplateTable7.val6}=='13'">瑶族</option>
                                    <option value="14" th:selected="${workTemplateTable7.val6}=='14'">白族</option>
                                    <option value="15" th:selected="${workTemplateTable7.val6}=='15'">土家族</option>
                                    <option value="16" th:selected="${workTemplateTable7.val6}=='16'">哈尼族</option>
                                    <option value="17" th:selected="${workTemplateTable7.val6}=='17'">哈萨克族</option>
                                    <option value="18" th:selected="${workTemplateTable7.val6}=='18'">傣族</option>
                                    <option value="19" th:selected="${workTemplateTable7.val6}=='19'">黎族</option>
                                    <option value="20" th:selected="${workTemplateTable7.val6}=='20'">傈僳族</option>
                                    <option value="21" th:selected="${workTemplateTable7.val6}=='21'">佤族</option>
                                    <option value="22" th:selected="${workTemplateTable7.val6}=='22'">畲族</option>
                                    <option value="23" th:selected="${workTemplateTable7.val6}=='23'">高山族</option>
                                    <option value="24" th:selected="${workTemplateTable7.val6}=='24'">拉祜族</option>
                                    <option value="25" th:selected="${workTemplateTable7.val6}=='25'">水族</option>
                                    <option value="26" th:selected="${workTemplateTable7.val6}=='26'">东乡族</option>
                                    <option value="27" th:selected="${workTemplateTable7.val6}=='27'">纳西族</option>
                                    <option value="28" th:selected="${workTemplateTable7.val6}=='28'">景颇族</option>
                                    <option value="29" th:selected="${workTemplateTable7.val6}=='29'">柯尔克孜族</option>
                                    <option value="30" th:selected="${workTemplateTable7.val6}=='30'">土族</option>
                                    <option value="31" th:selected="${workTemplateTable7.val6}=='31'">达斡尔族</option>
                                    <option value="32" th:selected="${workTemplateTable7.val6}=='32'">仫佬族</option>
                                    <option value="33" th:selected="${workTemplateTable7.val6}=='33'">羌族</option>
                                    <option value="34" th:selected="${workTemplateTable7.val6}=='34'">布朗族</option>
                                    <option value="35" th:selected="${workTemplateTable7.val6}=='35'">撒拉族</option>
                                    <option value="36" th:selected="${workTemplateTable7.val6}=='36'">毛南族</option>
                                    <option value="37" th:selected="${workTemplateTable7.val6}=='37'">仡佬族</option>
                                    <option value="38" th:selected="${workTemplateTable7.val6}=='38'">锡伯族</option>
                                    <option value="39" th:selected="${workTemplateTable7.val6}=='39'">阿昌族</option>
                                    <option value="40" th:selected="${workTemplateTable7.val6}=='40'">普米族</option>
                                    <option value="41" th:selected="${workTemplateTable7.val6}=='41'">塔吉克族</option>
                                    <option value="42" th:selected="${workTemplateTable7.val6}=='42'">怒族</option>
                                    <option value="43" th:selected="${workTemplateTable7.val6}=='43'">乌孜别克族</option>
                                    <option value="44" th:selected="${workTemplateTable7.val6}=='44'">俄罗斯族</option>
                                    <option value="45" th:selected="${workTemplateTable7.val6}=='45'">鄂温克族</option>
                                    <option value="46" th:selected="${workTemplateTable7.val6}=='46'">德昂族</option>
                                    <option value="47" th:selected="${workTemplateTable7.val6}=='47'">保安族</option>
                                    <option value="48" th:selected="${workTemplateTable7.val6}=='48'">裕固族</option>
                                    <option value="49" th:selected="${workTemplateTable7.val6}=='49'">京族</option>
                                    <option value="50" th:selected="${workTemplateTable7.val6}=='50'">塔塔尔族</option>
                                    <option value="51" th:selected="${workTemplateTable7.val6}=='51'">独龙族</option>
                                    <option value="52" th:selected="${workTemplateTable7.val6}=='52'">鄂伦春族</option>
                                    <option value="53" th:selected="${workTemplateTable7.val6}=='53'">赫哲族</option>
                                    <option value="54" th:selected="${workTemplateTable7.val6}=='54'">门巴族</option>
                                    <option value="55" th:selected="${workTemplateTable7.val6}=='55'">珞巴族</option>
                                    <option value="56" th:selected="${workTemplateTable7.val6}=='56'">基诺族</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">身份证号</td>
                            <td rowspan="1" colspan="6" class="tablecss4"><input id="val7" name="workTemplateTable7.val7"
                                    th:value="${workTemplateTable7.val7}" class="form-control inputcss1"></td>
                            <td class="tablecss2">学历</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val8" th:value="${workTemplateTable7.val8}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val8}=='1'">博士</option>
                                    <option value="2" th:selected="${workTemplateTable7.val8}=='2'">硕士</option>
                                    <option value="3" th:selected="${workTemplateTable7.val8}=='3'">大学</option>
                                    <option value="4" th:selected="${workTemplateTable7.val8}=='4'">大专</option>
                                    <option value="5" th:selected="${workTemplateTable7.val8}=='5'">中专</option>
                                    <option value="6" th:selected="${workTemplateTable7.val8}=='6'">高中</option>
                                    <option value="7" th:selected="${workTemplateTable7.val8}=='7'">初中及以下</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">党员</td>
                            <td rowspan="1" colspan="3" class="tablecss4">
                                <select name="workTemplateTable7.val9" th:value="${workTemplateTable7.val9}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val9}=='1'">是</option>
                                    <option value="2" th:selected="${workTemplateTable7.val9}=='2'">否</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">入党时间</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val10"
                                    th:value="${workTemplateTable7.val10}" class="form-control inputcss1"></td>
                            <td class="tablecss2">职级</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val11" th:value="${workTemplateTable7.val11}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val11}=='1'">省部级及以上</option>
                                    <option value="2" th:selected="${workTemplateTable7.val11}=='2'">厅局级</option>
                                    <option value="3" th:selected="${workTemplateTable7.val11}=='3'">县处级</option>
                                    <option value="4" th:selected="${workTemplateTable7.val11}=='4'">乡科级</option>
                                    <option value="5" th:selected="${workTemplateTable7.val11}=='5'">一般干部</option>
                                    <option value="6" th:selected="${workTemplateTable7.val11}=='6'">其他人员</option>
                                </select>
                            </td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val12" th:value="${workTemplateTable7.val12}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val12}=='1'">中管干部</option>
                                    <option value="2" th:selected="${workTemplateTable7.val12}=='2'">省管干部</option>
                                    <option value="3" th:selected="${workTemplateTable7.val12}=='3'">市管干部</option>
                                    <option value="4" th:selected="${workTemplateTable7.val12}=='4'">县管干部</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="2" class="tablecss2">工作单位及职务</td>
                            <td rowspan="1" colspan="8" class="tablecss4"><input name="workTemplateTable7.val13"
                                    th:value="${workTemplateTable7.val13}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">人大代表</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val14" th:value="${workTemplateTable7.val14}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val14}=='1'">全国人大代表</option>
                                    <option value="2" th:selected="${workTemplateTable7.val14}=='2'">省级人大代表</option>
                                    <option value="3" th:selected="${workTemplateTable7.val14}=='3'">市级人大代表</option>
                                    <option value="4" th:selected="${workTemplateTable7.val14}=='4'">县级人大代表</option>
                                    <option value="5" th:selected="${workTemplateTable7.val14}=='5'">乡级人大代表</option>
                                    <option value="6" th:selected="${workTemplateTable7.val14}=='6'">否</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">政协委员</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val15" th:value="${workTemplateTable7.val15}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val15}=='1'">全国政协委员</option>
                                    <option value="2" th:selected="${workTemplateTable7.val15}=='2'">省级政协委员</option>
                                    <option value="3" th:selected="${workTemplateTable7.val15}=='3'">市级政协委员</option>
                                    <option value="4" th:selected="${workTemplateTable7.val15}=='4'">县级政协委员</option>
                                    <option value="5" th:selected="${workTemplateTable7.val15}=='5'">否</option>
                                </select>
                            </td>
                            <td class="tablecss2">党委委员</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val16" th:value="${workTemplateTable7.val16}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val16}=='1'">中央委员</option>
                                    <option value="2" th:selected="${workTemplateTable7.val16}=='2'">中央候补委员</option>
                                    <option value="3" th:selected="${workTemplateTable7.val16}=='3'">省委委员</option>
                                    <option value="4" th:selected="${workTemplateTable7.val16}=='4'">省委候补委员</option>
                                    <option value="5" th:selected="${workTemplateTable7.val16}=='5'">市委委员</option>
                                    <option value="6" th:selected="${workTemplateTable7.val16}=='6'">市委候补委员</option>
                                    <option value="7" th:selected="${workTemplateTable7.val16}=='7'">区委委员</option>
                                    <option value="8" th:selected="${workTemplateTable7.val16}=='8'">区委候补委员</option>
                                    <option value="9" th:selected="${workTemplateTable7.val16}=='9'">乡镇党委委员</option>
                                    <option value="10" th:selected="${workTemplateTable7.val16}=='10'">否</option>
                                </select>
                            </td>
                            <td class="tablecss2">纪委委员</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val17" th:value="${workTemplateTable7.val17}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val17}=='1'">中央纪委委员</option>
                                    <option value="2" th:selected="${workTemplateTable7.val17}=='2'">省纪委委员</option>
                                    <option value="3" th:selected="${workTemplateTable7.val17}=='3'">市纪委委员</option>
                                    <option value="4" th:selected="${workTemplateTable7.val17}=='4'">区纪委委员</option>
                                    <option value="5" th:selected="${workTemplateTable7.val17}=='5'">乡镇纪委委员</option>
                                    <option value="6" th:selected="${workTemplateTable7.val17}=='6'">否</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">党代表</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val18" th:value="${workTemplateTable7.val18}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val18}=='1'">国家级</option>
                                    <option value="2" th:selected="${workTemplateTable7.val18}=='2'">省级</option>
                                    <option value="3" th:selected="${workTemplateTable7.val18}=='3'">市级</option>
                                    <option value="4" th:selected="${workTemplateTable7.val18}=='4'">县级</option>
                                    <option value="5" th:selected="${workTemplateTable7.val18}=='5'">乡级</option>
                                    <option value="6" th:selected="${workTemplateTable7.val18}=='6'">否</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">监察对象</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val19"
                                    th:value="${workTemplateTable7.val19}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val20"
                                    th:value="${workTemplateTable7.val20}" class="form-control inputcss1"></td>
                            <td class="tablecss2">非党非监察对象</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val21"
                                    th:value="${workTemplateTable7.val21}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val22"
                                    th:value="${workTemplateTable7.val22}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td class="tablecss2">部门分类</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val23"
                                    th:value="${workTemplateTable7.val23}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="3" class="tablecss2">一把手违纪违法</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val24" th:value="${workTemplateTable7.val24}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val24}=='1'">否</option>
                                    <option value="2" th:selected="${workTemplateTable7.val24}=='2'">查处时任一把手</option>
                                    <option value="3" th:selected="${workTemplateTable7.val24}=='3'">违纪违法时任一把手</option>
                                    <option value="4" th:selected="${workTemplateTable7.val24}=='4'">查处时违纪违法时均任一把手</option>
                                </select>
                            </td>
                            <td class="tablecss4"><input name="workTemplateTable7.val25"
                                    th:value="${workTemplateTable7.val25}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val26"
                                    th:value="${workTemplateTable7.val26}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val27"
                                    th:value="${workTemplateTable7.val27}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td class="tablecss2">案件来源</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val28" th:value="${workTemplateTable7.val28}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val28}=='1'">信访举报</option>
                                    <option value="2" th:selected="${workTemplateTable7.val28}=='2'">上级交办</option>
                                    <option value="3" th:selected="${workTemplateTable7.val28}=='3'">公检法机关移送</option>
                                    <option value="4" th:selected="${workTemplateTable7.val28}=='4'">监督检查中发现</option>
                                    <option value="5" th:selected="${workTemplateTable7.val28}=='5'">纪律审查中发现</option>
                                    <option value="6" th:selected="${workTemplateTable7.val28}=='6'">审计中发现</option>
                                    <option value="7" th:selected="${workTemplateTable7.val28}=='7'">巡视巡察中发现</option>
                                    <option value="8" th:selected="${workTemplateTable7.val28}=='8'">其他行政执法机关移送</option>
                                    <option value="9" th:selected="${workTemplateTable7.val28}=='9'">其他</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="3" class="tablecss4"><input name="workTemplateTable7.val29"
                                    th:value="${workTemplateTable7.val29}" class="form-control inputcss1">
                            </td>
                            <td class="tablecss4"><input name="workTemplateTable7.val30"
                                    th:value="${workTemplateTable7.val30}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val31"
                                    th:value="${workTemplateTable7.val31}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val32"
                                    th:value="${workTemplateTable7.val32}" class="form-control inputcss1"></td>
                            <td class="tablecss4"><input name="workTemplateTable7.val33"
                                    th:value="${workTemplateTable7.val33}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td class="tablecss2">纪委立案机关</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val34" th:value="${workTemplateTable7.val34}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val34}=='1'">中央纪委</option>
                                    <option value="2" th:selected="${workTemplateTable7.val34}=='2'">省区市纪委</option>
                                    <option value="3" th:selected="${workTemplateTable7.val34}=='3'">地市州盟纪委</option>
                                    <option value="4" th:selected="${workTemplateTable7.val34}=='4'">县市区旗纪委</option>
                                    <option value="5" th:selected="${workTemplateTable7.val34}=='5'">乡镇纪委</option>
                                    <option value="6" th:selected="${workTemplateTable7.val34}=='6'">军队纪委</option>
                                    <option value="7" th:selected="${workTemplateTable7.val34}=='7'">中央纪委派驻纪检组</option>
                                    <option value="8" th:selected="${workTemplateTable7.val34}=='8'">省区市纪委派驻纪检组</option>
                                    <option value="9" th:selected="${workTemplateTable7.val34}=='9'">地市州纪委派驻纪检组</option>
                                    <option value="10" th:selected="${workTemplateTable7.val34}=='10'">县市区纪委派驻纪检组</option>
                                    <option value="11" th:selected="${workTemplateTable7.val34}=='11'">企业单位纪检机构</option>
                                    <option value="12" th:selected="${workTemplateTable7.val34}=='12'">事业单位纪检机构</option>
                                    <option value="13" th:selected="${workTemplateTable7.val34}=='13'">机关纪委</option>
                                    <option value="14" th:selected="${workTemplateTable7.val34}=='14'">其他</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">纪委立案时间</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val35"
                                    th:value="${workTemplateTable7.val35}" class="form-control inputcss1"></td>
                            <td class="tablecss2">监委立案机关</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val36" th:value="${workTemplateTable7.val36}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val36}=='1'">国家监委</option>
                                    <option value="2" th:selected="${workTemplateTable7.val36}=='2'">省区市监委</option>
                                    <option value="3" th:selected="${workTemplateTable7.val36}=='3'">地市州盟监委</option>
                                    <option value="4" th:selected="${workTemplateTable7.val36}=='4'">县市区旗监委</option>
                                    <option value="5" th:selected="${workTemplateTable7.val36}=='5'">军队监委</option>
                                    <option value="6" th:selected="${workTemplateTable7.val36}=='6'">国家监委派驻监察组</option>
                                    <option value="7" th:selected="${workTemplateTable7.val36}=='7'">省区市监委派驻监察组</option>
                                    <option value="8" th:selected="${workTemplateTable7.val36}=='8'">地市州监委派驻监察组</option>
                                    <option value="9" th:selected="${workTemplateTable7.val36}=='9'">县市区监委派驻监察组</option>
                                    <option value="10" th:selected="${workTemplateTable7.val36}=='10'">企业单位监察机构</option>
                                    <option value="11" th:selected="${workTemplateTable7.val36}=='11'">事业单位监察机构</option>
                                    <option value="12" th:selected="${workTemplateTable7.val36}=='12'">其他</option>
                                </select>
                            </td>
                            <td class="tablecss2">监委立案时间</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val37"
                                    th:value="${workTemplateTable7.val37}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="5" class="tablecss2">是否其他纪检监察机关立案后移送</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val38" th:value="${workTemplateTable7.val38}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val38}=='1'">是</option>
                                    <option value="2" th:selected="${workTemplateTable7.val38}=='2'">否</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val39"
                                    th:value="${workTemplateTable7.val39}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val40"
                                    th:value="${workTemplateTable7.val40}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="5" colspan="1" class="tablecss2">留置措施情况</td>
                            <td rowspan="1" colspan="2" class="tablecss2">采取措施机关</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val41" th:value="${workTemplateTable7.val41}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val41}=='1'">国家监委</option>
                                    <option value="2" th:selected="${workTemplateTable7.val41}=='2'">省区市监委</option>
                                    <option value="3" th:selected="${workTemplateTable7.val41}=='3'">地市州盟监委</option>
                                    <option value="4" th:selected="${workTemplateTable7.val41}=='4'">县市区旗监委</option>
                                    <option value="5" th:selected="${workTemplateTable7.val41}=='5'">其他</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">采取措施机关名称</td>
                            <td rowspan="1" colspan="3" class="tablecss4"><input name="workTemplateTable7.val42"
                                    th:value="${workTemplateTable7.val42}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="2" class="tablecss2">留置起始时间</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val43"
                                    th:value="${workTemplateTable7.val43}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">采取措施场所分类</td>
                            <td rowspan="1" colspan="3" class="tablecss4">
                                <select name="workTemplateTable7.val44" th:value="${workTemplateTable7.val44}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val44}=='1'">本监委留置场所</option>
                                    <option value="2" th:selected="${workTemplateTable7.val44}=='2'">上级监委留置场所</option>
                                    <option value="3" th:selected="${workTemplateTable7.val44}=='3'">其他监委留置场所</option>
                                    <option value="4" th:selected="${workTemplateTable7.val44}=='4'">看守所</option>
                                    <option value="5" th:selected="${workTemplateTable7.val44}=='5'">其他</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="2" class="tablecss2">留置结束时间</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val45"
                                    th:value="${workTemplateTable7.val45}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">采取措施地点</td>
                            <td rowspan="1" colspan="3" class="tablecss4"><input name="workTemplateTable7.val46"
                                    th:value="${workTemplateTable7.val46}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="2" class="tablecss3">留置审批情况</td>
                            <td rowspan="1" colspan="7" class="tablecss5"><input name="workTemplateTable7.val47"
                                    th:value="${workTemplateTable7.val47}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="2" class="tablecss3">延期审批情况</td>
                            <td rowspan="1" colspan="7" class="tablecss5"><input name="workTemplateTable7.val48"
                                    th:value="${workTemplateTable7.val48}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">违纪行为</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val49"
                                    th:value="${workTemplateTable7.val49}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">职务违法行为</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val50"
                                    th:value="${workTemplateTable7.val50}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">其他违法犯罪行为</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val51"
                                    th:value="${workTemplateTable7.val51}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">审理受理时间</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val52"
                                    th:value="${workTemplateTable7.val52}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">审理机关</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val53" th:value="${workTemplateTable7.val53}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val53}=='1'">中央纪委国家监委</option>
                                    <option value="2" th:selected="${workTemplateTable7.val53}=='2'">省区市盟纪委监委</option>
                                    <option value="3" th:selected="${workTemplateTable7.val53}=='3'">地市州盟纪委监委</option>
                                    <option value="4" th:selected="${workTemplateTable7.val53}=='4'">县市区旗纪委监委</option>
                                    <option value="5" th:selected="${workTemplateTable7.val53}=='5'">乡镇纪委</option>
                                    <option value="6" th:selected="${workTemplateTable7.val53}=='6'">军队纪委监委</option>
                                    <option value="7" th:selected="${workTemplateTable7.val53}=='7'">中央纪委国家监委派驻纪检监察组
                                    </option>
                                    <option value="8" th:selected="${workTemplateTable7.val53}=='8'">省区市纪委监委派驻纪检监察组</option>
                                    <option value="9" th:selected="${workTemplateTable7.val53}=='9'">地市州盟纪委监委派驻纪检监察组
                                    </option>
                                    <option value="10" th:selected="${workTemplateTable7.val53}=='10'">县市区旗纪委监委派驻纪检监察组
                                    </option>
                                    <option value="11" th:selected="${workTemplateTable7.val53}=='11'">企业单位纪检监察机构</option>
                                    <option value="12" th:selected="${workTemplateTable7.val53}=='12'">事业单位纪检监察机构</option>
                                    <option value="13" th:selected="${workTemplateTable7.val53}=='13'">机关纪委</option>
                                    <option value="14" th:selected="${workTemplateTable7.val53}=='14'">其他</option>
                                </select>
                            </td>
                            <td class="tablecss2">审结时间</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val54"
                                    th:value="${workTemplateTable7.val54}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss3">审理报告</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val55"
                                    th:value="${workTemplateTable7.val55}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss3">忏悔书</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val56"
                                    th:value="${workTemplateTable7.val56}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">结案时间</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val57"
                                    th:value="${workTemplateTable7.val57}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="3" class="tablecss2">是否违反中央八项规定精神</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val58" th:value="${workTemplateTable7.val58}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val58}=='1'">是</option>
                                    <option value="2" th:selected="${workTemplateTable7.val58}=='2'">否</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">是否属于问责</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val59" th:value="${workTemplateTable7.val59}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val59}=='1'">是</option>
                                    <option value="2" th:selected="${workTemplateTable7.val59}=='2'">否</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">违法违纪总金额</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val60"
                                    th:value="${workTemplateTable7.val60}" class="form-control inputcss1"></td>
                            <td rowspan="1" colspan="2" class="tablecss2">失职渎职金额</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val61"
                                    th:value="${workTemplateTable7.val61}" class="form-control inputcss1"></td>
                            <td class="tablecss2">收缴涉案金额</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val62"
                                    th:value="${workTemplateTable7.val62}" class="form-control inputcss1"></td>
                            <td class="tablecss2">挽回经济损失</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val63"
                                    th:value="${workTemplateTable7.val63}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td class="tablecss2">党纪处分</td>
                            <td rowspan="1" colspan="2" class="tablecss4">
                                <select name="workTemplateTable7.val64" th:value="${workTemplateTable7.val64}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val64}=='1'">警告</option>
                                    <option value="2" th:selected="${workTemplateTable7.val64}=='2'">严重警告</option>
                                    <option value="3" th:selected="${workTemplateTable7.val64}=='3'">撤销党内职务</option>
                                    <option value="4" th:selected="${workTemplateTable7.val64}=='4'">留党察看</option>
                                    <option value="5" th:selected="${workTemplateTable7.val64}=='5'">开除党籍</option>
                                </select>
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">留党察看年限</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val65" th:value="${workTemplateTable7.val65}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val65}=='1'">一年</option>
                                    <option value="2" th:selected="${workTemplateTable7.val65}=='2'">二年</option>
                                </select>
                            </td>
                            <td class="tablecss2">政务处分</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val66" th:value="${workTemplateTable7.val66}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val66}=='1'">警告</option>
                                    <option value="2" th:selected="${workTemplateTable7.val66}=='2'">记过</option>
                                    <option value="3" th:selected="${workTemplateTable7.val66}=='3'">记大过</option>
                                    <option value="4" th:selected="${workTemplateTable7.val66}=='4'">降级</option>
                                    <option value="5" th:selected="${workTemplateTable7.val66}=='5'">撤职</option>
                                    <option value="6" th:selected="${workTemplateTable7.val66}=='6'">开除</option>
                                </select>
                            </td>
                            <td class="tablecss2">其他处理</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val67" th:value="${workTemplateTable7.val67}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val67}=='1'">免于党纪处分</option>
                                    <option value="2" th:selected="${workTemplateTable7.val67}=='2'">免于政务处分</option>
                                    <option value="3" th:selected="${workTemplateTable7.val67}=='3'">不予处分</option>
                                    <option value="4" th:selected="${workTemplateTable7.val67}=='4'">改组党组织</option>
                                    <option value="5" th:selected="${workTemplateTable7.val67}=='5'">解散党组织</option>
                                    <option value="6" th:selected="${workTemplateTable7.val67}=='6'">处分有关人员</option>
                                    <option value="7" th:selected="${workTemplateTable7.val67}=='7'">对两非人员不予移送检察机关</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">组织措施</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val68"
                                    th:value="${workTemplateTable7.val68}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">是否主动交代</td>
                            <td class="tablecss4">
                                <select name="workTemplateTable7.val69" th:value="${workTemplateTable7.val69}"
                                    class="form-control selectcss1">
                                    <option value=""></option>
                                    <option value="1" th:selected="${workTemplateTable7.val69}=='1'">是</option>
                                    <option value="2" th:selected="${workTemplateTable7.val69}=='2'">否</option>
                                </select>
                            </td>
                            <td class="tablecss2">违纪时间</td>
                            <td rowspan="1" colspan="3" class="tablecss4"><input name="workTemplateTable7.val70"
                                    th:value="${workTemplateTable7.val70}" class="form-control inputcss1">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss2">潜逃时间</td>
                            <td rowspan="1" colspan="2" class="tablecss4"><input name="workTemplateTable7.val71"
                                    th:value="${workTemplateTable7.val71}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">潜逃去向</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val72"
                                    th:value="${workTemplateTable7.val72}" class="form-control inputcss1"></td>
                            <td class="tablecss2">抓获时间</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val73"
                                    th:value="${workTemplateTable7.val73}" class="form-control inputcss1"></td>
                            <td class="tablecss2">销案时间</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val74"
                                    th:value="${workTemplateTable7.val74}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td class="tablecss3">潜逃去向细节</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val75"
                                    th:value="${workTemplateTable7.val75}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss3">处分决定</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val76"
                                    th:value="${workTemplateTable7.val76}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecss3">案件剖析</td>
                            <td rowspan="1" colspan="9" class="tablecss5"><input name="workTemplateTable7.val77"
                                    th:value="${workTemplateTable7.val77}" class="form-control inputcss2">
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="3" class="tablecss2">移送检察机关时间</td>
                            <td rowspan="1" colspan="4" class="tablecss4"><input name="workTemplateTable7.val78"
                                    th:value="${workTemplateTable7.val78}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">移送检察机关金额（万元）</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val79"
                                    th:value="${workTemplateTable7.val79}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="3" class="tablecss2">公检法等机关处理时间</td>
                            <td rowspan="1" colspan="4" class="tablecss4"><input name="workTemplateTable7.val80"
                                    th:value="${workTemplateTable7.val80}" class="form-control inputcss1">
                            </td>
                            <td rowspan="1" colspan="2" class="tablecss2">司法判决金额（万元）</td>
                            <td class="tablecss4"><input name="workTemplateTable7.val81"
                                    th:value="${workTemplateTable7.val81}" class="form-control inputcss1"></td>
                        </tr>
                        <tr>
                            <td rowspan="1" colspan="3" class="tablecss2">公检法等机关处理内容</td>
                            <td rowspan="1" colspan="7" class="tablecss4"><input name="workTemplateTable7.val82"
                                    th:value="${workTemplateTable7.val82}" class="form-control inputcss1">
                            </td>
                        </tr>
                    </table>
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">填报单位：</label>
                                <div class="form-control-static" th:text="${workProgress.receiveDept}"></div>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">填报人：</label>
                                <div class="form-control-static" th:text="${workProgress.receiveUser}"></div>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">填报时间：</label>
                                <div class="form-control-static" th:text="${today}"></div>
                            </div>
                        </div>
                    </div>
                </form>
                <div class="row">
                    <div class="col-sm-offset-4 col-sm-10">
                        <button type="button" class="btn btn-sm btn-success" onclick="theNext()"><i
                                class="fa fa-mail-forward"></i>新增
                        </button>&nbsp;
                        <button type="button" class="btn btn-sm btn-info" onclick="submitHandler_Temp()"><i
                                class="fa fa-plus"></i>暂 存
                        </button>&nbsp;
                        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i
                                class="fa fa-check"></i>上 报
                        </button>&nbsp;
                        <button type="button" class="btn btn-danger btn-sm" onclick="submitDelete()"><i
                                class="fa fa-remove"></i>删 除
                        </button>
                        <button type="button" class="btn btn-sm btn-warning" onclick="closeItem()"><i
                                class="fa fa-reply-all"></i>关 闭
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <th:block th:include="include :: layout-latest-js" />
    <script th:inline="javascript">
        var prefix = ctx + "work/templatetable7"
        $("#form-templatetable7-add").validate({
            focusCleanup: true
        });

        // 覆盖任务填报页面
        function fill_in(progressId, rowId) {
            //time用于解决data-id重复
            let time = JSON.stringify(new Date().getTime())
            // time="+time;
            var url = ctx + "work/progress/fill_in/" + progressId + "?id="+ rowId +"&time=" + time;
            $.modal.parentTab('任务填报', url)
        }

        //下一个
        function theNext() {
            if ($.validate.form()) {
                $('#status').val('3')

                $.operate.post(prefix + "/add", $('#form-templatetable7-add').serialize(), function (resp) {
                    let progressId = $("#progressId").val()
                    fill_in(progressId,-1)
                });
            }
        }

        //暂存
        function submitHandler_Temp() {
            if ($.validate.form()) {
                $('#status').val('3')
                $.operate.post(prefix + "/add", $('#form-templatetable7-add').serialize());
                refreshPage();
            }
        }

        //上报
        function submitHandler() {
            if ($.validate.form()) {
                $('#status').val('4')
                $.operate.save(prefix + "/add", $('#form-templatetable7-add').serialize());
            }
        }

        function getBirthdayFromIdCard(idCard) {
            var birthday = "";
            if (idCard != null && idCard != "") {
                if (idCard.length == 15) {
                    birthday = "19" + idCard.substr(6, 4);
                } else if (idCard.length == 18) {
                    birthday = idCard.substr(6, 6);
                }

                birthday = birthday.replace(/(.{4})(.{2})/, "$1年$2月");
            }
            return birthday;
        };

        //刷新页面
        function refreshPage() {
            let time = JSON.stringify(new Date().getTime())
            var url = ctx + "work/progress/fill_in/" + $("#progressId").val() + "?time=" + time;
            $.modal.parentTab('任务填报', url)
        }

        //删除
        function submitDelete() {
            $.operate.get("/work/templatetable7/remove?ids=" + $("#id").val());
            refreshPage();
        }

        $("input[name='workTemplateTable7.val7']").keyup(function () {
            var idCard = $(this).val();
            $("input[name='workTemplateTable7.val5']").val(getBirthdayFromIdCard(idCard))
        });

        $("input[name='workTemplateTable7.val10']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val35']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val37']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val43']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val45']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val52']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val54']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val57']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val70']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val71']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val73']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val74']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val78']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
        $("input[name='workTemplateTable7.val80']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $(function () {
            var panehHidden = false;
            if ($(this).width() < 769) {
                panehHidden = true;
            }
            panehHidden = $("#tree").html()===undefined?true:panehHidden
            $('body').layout({ initClosed: panehHidden, west__size: 100 });
            // 回到顶部绑定
            if ($.fn.toTop !== undefined) {
                var opt = {
                    win: $('.ui-layout-center'),
                    doc: $('.ui-layout-center')
                };
                $('#scroll-up').toTop(opt);
            }
        });

        function fill_in_edit(id){
            var progressId = $("#progressId").val()
            var url = ctx + "work/progress/fill_in/" + progressId + "?id="+ id;
             $.ajax({
                type: "get",
                url: url,
                data: {
                    "fragment":'fragment-template'
                },
                success: function(data) {
                    console.log(data);
                    $("#fragment-template").html(data);
                }
            });
        }
</script>
</body>
</html>